package com.famdoc.Dao;

import com.famdoc.Pojo.entity.Patient;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Mapper
@Repository
public interface HomeFileMapper {
    Patient queryPatientByIdNumber(String idNumber);

    Integer modifyHomeId(Map<String, Object> paramMap);

    Integer modifyHomeFile(@Param("homeId") Integer homeId,@Param("otherIdNumber") String otherIdNumber);

    Patient queryPatientByHomeId(Integer homeId);

    List<Patient> queryPatientListById(Integer id);
}
